/*******************************************************************************
 * Copyright (c) 2017, 2020 TypeFox GmbH (http://www.typefox.io) and others.
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 *
 * SPDX-License-Identifier: EPL-2.0
 *******************************************************************************/
package org.eclipse.xtext.ide.tests.testlanguage.scoping;

import com.google.inject.Inject;
import org.eclipse.xtext.common.services.DefaultTerminalConverters;
import org.eclipse.xtext.conversion.IValueConverter;
import org.eclipse.xtext.conversion.ValueConverter;
import org.eclipse.xtext.conversion.impl.QualifiedNameValueConverter;

/**
 * @author Moritz Eysholdt - Initial contribution and API
 */
public class PartialSerializationTestLanguageValueConverter extends DefaultTerminalConverters {

	@Inject
	private QualifiedNameValueConverter fqnc;

	@ValueConverter(rule="QualifiedName")
	public IValueConverter<String> QualifiedName() {
		return fqnc;
	}

}
